package cn.javabb.core.entity.pay;

import cn.javabb.core.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author javabb
 * @Date 2019/8/7 0007 下午 11:46
 * @Desc
 */

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "pay_goods")
public class GoodsDO extends BaseEntity {

    @Id
    @GeneratedValue(generator = "JDBC")
    private Integer goodsId;
    private String goodsName;
    private String goodsDesc;
    private Integer gold;
    private Double money;
    private Double  primaryMoney;
    private Integer type; // 1表示充值gold 2表示获取用户组
    private Integer userGroup;
    private Integer state;
    private String point;
    private Integer hot;
    private String remark;

}
